package com.example.strategy.strategy;

import com.example.strategy.strategy.PaymentStrategy;
import org.springframework.stereotype.Component;

/**
 * @Description : 微信支付策略
 * @Author : Bruce Lee
 * @CreateTime : 2025/8/14
 */

@Component("wechatpay")
public class WeChatPayStrategy implements PaymentStrategy {
    @Override
    public void pay(int amount) {
        // TODO
        System.out.println("使用微信支付：" + amount);
    }
}
